Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 10 - Derived Media Handler Components / Derived Media Handler Components Reference
Functions / General Data Management


MediaPreroll

The MediaPreroll function allows the Movie Toolbox to prepare your media handler for playback.

pascal ComponentResult MediaPreroll (ComponentInstance ci,
                                     TimeValue time, Fixed rate);
ci
Identifies the Movie Toolbox's connection to your derived media handler.
time
Contains the starting time of the media segment to play. This time value is expressed in your media's time scale.
rate
Specifies the rate at which the Movie Toolbox expects to play the media. This is a 32-bit, fixed-point number. Positive values indicate forward rates; negative values correspond to reverse rates.
DESCRIPTION
Use this as an opportunity to load data from your media, so that when the Movie Toolbox starts to play, your media can play smoothly from the start.

RESULT CODES
Any Component Manager result code


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help